package com.skiving.cloud.hello.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.noear.solon.annotation.Controller;
import org.noear.solon.annotation.Mapping;


@Slf4j
@Api("HelloWorld")
@Controller
public class DemoController {

    @ApiOperation(value = "你好，世界！")
    @Mapping("/helloWorld")
    public String helloWorld(){
        return "Hello World!";
    }
}
